package com.zbkj.common.request.project;

import com.zbkj.common.request.PageParamRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Auther:
 * @Date: 2024/7/10 13:08
 * @Description:
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "InformationQueryRequest对象", description = "资料列表查询对象")
public class InformationQueryRequest extends PageParamRequest implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("项目ID")
    @NotNull(message = "项目ID不能为空")
    private Long projectId;

    @ApiModelProperty("查询资料类型 " +
            "服务端 41、ai估算结果文件 42 修改后功能明细文件，43报告文件 " +
            "客户端：43报告文件"
    )
    @NotNull(message = "查询资料类型不能为空")
    private Integer queryType;

    @ApiModelProperty("查询开始时间(yyyy-MM-dd HH:mm:ss)")
    private String beginDate;
    @ApiModelProperty("查询结束时间(yyyy-MM-dd HH:mm:ss)")
    private String endDate;

}
